using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;

namespace VOL.demo.IServices
{
    public partial interface ISys_DepartmentService
    {
        /// <summary>
        /// 获取部门下拉选项
        /// </summary>
        /// <returns>部门列表</returns>
        Task<List<Sys_Department>> GetDepartmentOptionsAsync();

        /// <summary>
        /// 根据部门ID获取部门信息
        /// </summary>
        /// <param name="departmentId">部门ID</param>
        /// <returns>部门信息</returns>
        Task<Sys_Department> GetDepartmentByIdAsync(string departmentId);
    }
}
